﻿using Microsoft.AspNetCore.Mvc;
using Zhp.Api.Attributes;
using Zhp.Model.Sys;

namespace Zhp.Api.Controllers.Sys
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    [SeedMenu(MenuGroup = ApiGroupEnum.Sys, Name = "部门管理", Order = 2, RouterName = "dept", WebFilePath = "sys/dept/index", Icon = "tree")]
    public class SysDeptController : ControllerBase
    {
        public SysDeptController() { }

        [HttpPost]
        [SeedList("部门列表", "部门管理", ApiGroupEnum.Sys)]
        public List<DeptModel> Index(DeptQuery query)
        {
            return new List<DeptModel>();
        }
    }
}
